/**
 * output package name
 */
package com.kingdee.eas.custom.aoyuan.aytime;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class AYAttenBillStatusEnum extends StringEnum
{
    public static final String DRAFT_VALUE = "0";
    public static final String SUBMIT_VALUE = "1";
    public static final String AUDITING_VALUE = "2";
    public static final String PASS_VALUE = "3";
    public static final String AUDIT_FAIL_VALUE = "4";
    public static final String CLOSE_VALUE = "5";

    public static final AYAttenBillStatusEnum DRAFT = new AYAttenBillStatusEnum("DRAFT", DRAFT_VALUE);
    public static final AYAttenBillStatusEnum SUBMIT = new AYAttenBillStatusEnum("SUBMIT", SUBMIT_VALUE);
    public static final AYAttenBillStatusEnum AUDITING = new AYAttenBillStatusEnum("AUDITING", AUDITING_VALUE);
    public static final AYAttenBillStatusEnum PASS = new AYAttenBillStatusEnum("PASS", PASS_VALUE);
    public static final AYAttenBillStatusEnum AUDIT_FAIL = new AYAttenBillStatusEnum("AUDIT_FAIL", AUDIT_FAIL_VALUE);
    public static final AYAttenBillStatusEnum CLOSE = new AYAttenBillStatusEnum("CLOSE", CLOSE_VALUE);

    /**
     * construct function
     * @param String aYAttenBillStatusEnum
     */
    private AYAttenBillStatusEnum(String name, String aYAttenBillStatusEnum)
    {
        super(name, aYAttenBillStatusEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AYAttenBillStatusEnum getEnum(String aYAttenBillStatusEnum)
    {
        return (AYAttenBillStatusEnum)getEnum(AYAttenBillStatusEnum.class, aYAttenBillStatusEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AYAttenBillStatusEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AYAttenBillStatusEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AYAttenBillStatusEnum.class);
    }
}